package com.xiaok.mobileredis.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.xiaok.mobileredis.entity.SensitiveWord;

import java.util.List;

/**
 * <p>
 * 敏感词过滤表 Mapper 接口
 * </p>
 *
 * @author xiaok
 * @since 2020-09-20
 */
public interface SensitiveWordMapper extends BaseMapper<SensitiveWord> {


    List<SensitiveWord> selectListOfSql(int current, int size);

    void deleteByIdOfSql(Integer id);

    Integer updateOfSql(SensitiveWord sensitiveWord);

    Integer addOfSql(SensitiveWord sensitiveWord);


}
